package com.kexuexiong.demo.bear.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class LiteFlowDTO<T>{

    @ApiModelProperty(name = "chainName",required = true)
    @NotNull(message = "chainName 不能为空")
    private String chainName;

    @ApiModelProperty(name = "data")
    private T data;
}
